import '../model/base_response.dart';
import '../http/request_api.dart';
import 'base_api_service.dart';

class VersionService extends BaseApiService {
  /// 获取版本信息
  Future<BaseResponse<Map<String, dynamic>>> getVersionInfo() async {
    return await post(
      RequestApi.GET_VERSION_INFO,
      fromJsonT: (data) => data as Map<String, dynamic>,
    );
  }
}